package com.xty.observer.concrereObserver;

import com.xty.observer.Observer;
import lombok.extern.slf4j.Slf4j;

/**
 * Created By IntelliJ IDEA
 *
 * @author 许腾洋
 * @date 2021/11/22
 * description:具体观察者1
 */
@Slf4j
public class Observer1 implements Observer {
    /**
     * 通知观察者方法
     */
    @Override
    public void updata(String message) {
        log.info("Observer1收到通知:{}", message);
    }
}
